package com.xiyuan.smartutils.constants;


/**
 * 美国信息交换标准代码(American Standard Code for Information Interchange)
 * 以下为ASCII字符集表(与ANSI字符集中的前面128个(0-127)字符相同。)
 * 
 * @version v1.0.0 @author lgz 2017-9-21 新建与整理
 */

@SuppressWarnings({"DanglingJavadoc",
                   "AlibabaConstantFieldShouldBeUpperCase",
                   "AlibabaAvoidStartWithDollarAndUnderLineNaming"})
public interface AsciiConstants
{
    /******************************************************************/
    //0-31为控制符，也是空白符，trim()时会和空格一起被清除
    /******************************************************************/
    
    /** 0 NUL(null) 空字符 */
    public static final char  _NUL_                                       = 0;
    
    /** 1 SOH(start of headline) 标题开始 */
    public static final char  _SOH_                                       = 1;
    
    /** 2 STX (start of text) 正文开始 */
    public static final char  _STX_                                       = 2;
    
    /** 3 ETX(end of text) 正文结束 */
    public static final char  _EXT_                                       = 3;
    
    /** 4 EOT (end of transmission) 传输结束 */
    public static final char  _EOT_                                       = 4;
    
    /** 5 ENQ (enquiry) 请求 */
    public static final char  _ENQ_                                       = 5;
    
    /** 6 ACK (acknowledge) 收到通知 */
    public static final char  _ACK_                                       = 6;
    
    /** 7 BEL (bell) 响铃 */
    public static final char  _BEL_                                       = 7;
    
    /** 8 BS (backspace) 退格 */
    public static final char  _BS_                                        = '\b';
    
    /** 9 HT (horizontal tab) 水平制表符 */
    public static final char  _HT_                                        = '\t';
    
    /** 10 LF (NL line feed, new line) 换行键 */
    public static final char  _LF_                                        = '\n';
    
    /** 11 VT (vertical tab) 垂直制表符 */
    public static final char  _VT_                                        = 11;
    
    /** 12 FF (NP form feed, new page) 换页键 */
    public static final char  _FF_                                        = '\f';
    
    /** 13 CR (carriage return) 回车键 */
    public static final char  _CR_                                        = '\r';
    
    /** 14 SO (shift out) 不用切换 */
    public static final char  _SO_                                        = 14;
    
    /** 15 SI (shift in) 启用切换 */
    public static final char  _SI_                                        = 15;
    
    /** 16 DLE (data link escape) 数据链路转义  */
    public static final char  _DLE_                                       = 16;
    
    /** 17 DC1 (device control 1) 设备控制1 */
    public static final char  _DC1_                                       = 17;
    
    /** 18 DC2 (device control 2) 设备控制2 */
    public static final char  _DC2_                                       = 18;
    
    /** 19 DC3 (device control 3) 设备控制3 */
    public static final char  _DC3_                                       = 19;
    
    /** 20 DC4 (device control 4) 设备控制4 */
    public static final char  _DC4_                                       = 20;
    
    /** 21 NAK (negative acknowledge) 拒绝接收 */
    public static final char  _NAK_                                       = 21;
    
    /** 22 SYN (synchronous idle) 同步空闲  */
    public static final char  _SYN_                                       = 22;
    
    /** 23 ETB (end of trans. block) 传输块结束 */
    public static final char  _ETB_                                       = 23;
    
    /** 24 CAN (cancel) 取消 */
    public static final char  _CAN_                                       = 24;
    
    /** 25 EM (end of medium) 介质中断 */
    public static final char  _EM_                                        = 25;
    
    /** 26 SUB (substitute) 替补 */
    public static final char  _SUB_                                       = 26;
    
    /** 27 ESC (escape) 换码(溢出) */
    public static final char  _ESC_                                       = 27;
    
    /** 28 FS (file separator) 文件分割符 */
    public static final char  _FS_                                        = 28;
    
    /** 29 GS (group separator) 分组符 */
    public static final char  _GS_                                        = 29;
    
    /** 30 RS (record separator) 记录分离符 */
    public static final char  _RS_                                        = 30;
    
    /** 31 US (unit separator) 单元分隔符 */
    public static final char  _US_                                        = 31;
    
    /******************************************************************/
    //32-47为常用符和计算符
    /******************************************************************/
    
    /** 32 space 空格 */
    public static final char  _SPACE_                                     = ' ';
    
    /** 33 ! 感叹号 */
    public static final char  _EXCLAMATION_                               = '!';
    
    /** 34 " 双引号 */
    public static final char  _DOUBLE_QUOTE_                              = '\"';
    
    /** 35 # 井号，数字代换号、英镑等，有代表的如C#叫c sharp和pound Please input your password, press the key well confirme */
    public static final char  _SHARP_                                     = '#';
    
    /** 36 $ 美元号 */
    public static final char  _DOLLAR_                                    = '$';
    
    /** 37 % 百分号 */
    public static final char  _PERCENT_                                   = '%';
    
    /** 38 & 和与号，ampersand;and;reference;ref和；引用英['æmpəsænd]   美['æmpərsænd]  */
    public static final char  _AMPERSAND_                                 = '&';
    
    /** 39 ' 单引号 */
    public static final char  _QUOTE_                                     = '\'';
    
    /** 40 ( 左括号 */
    public static final char  _PARENTHESIS_LEFT                          = '(';
    
    /** 41 ) 右括号 */
    public static final char _PARENTHESIS_RIGHT                          = ')';
    
    /** 42 * 星号、乘号，又用于指针等asterisk;multiply;star;pointer */
    public static final char  _ASTERISK_                                  = '*';
    
    /** 43 + 加号 */
    public static final char  _PLUS_                                      = '+';
    
    /** 44 , 逗号 */
    public static final char  _COMMA_                                     = ',';
    
    /** 45 - 减号、负号 */
    public static final char  _MINUS_                                     = '-';
    
    /** 46 . 点号、句号，period; dot */
    public static final char  _DOT_                                       = '.';
    
    /** 47 / 顺斜杠，slash; divide; oblique 斜线；斜杠；除号 */
    public static final char  _SLASH_                                     = '/';
    
    /******************************************************************/
    //48-57为数字
    /******************************************************************/
    
    /** 48 0 */
    public static final char  _0_                                         = '0';

    /** 49 1 */
    public static final char  _1_                                         = '1';

    /** 50 2 */
    public static final char  _2_                                         = '2';

    /** 51 3 */
    public static final char  _3_                                         = '3';

    /** 52 4 */
    public static final char  _4_                                         = '4';

    /** 53 5 */
    public static final char  _5_                                         = '5';

    /** 54 6 */
    public static final char  _6_                                         = '6';

    /** 55 7 */
    public static final char  _7_                                         = '7';

    /** 56 8 */
    public static final char  _8_                                         = '8';

    /** 57 9 */
    public static final char  _9_                                         = '9';

    
    /******************************************************************/
    //58-64为常用比较计算符
    /******************************************************************/
    
    /** 58 : 冒号 */
    public static final char  _COLON_                                     = ':';
    
    /** 59 ; 分号 */
    public static final char  _SEMICOLON_                                 = ';';
    
    /** 60 < 小于号 */
    public static final char  _LESS_                                      = '<';
    
    /** 61 = 相等赋值号 */
    public static final char  _EQUAL_                                     = '=';
    
    /** 62 > 大于号 */
    public static final char  _GATHER_                                    = '>';
    
    /** 63 ? 问号 */
    public static final char  _QUESTION_                                  = '?';
    
    /** 64 @ 邮箱地址号 */
    public static final char  _AT_                                        = '@';
    
    /******************************************************************/
    //65-90为大写字母
    /******************************************************************/
    
    /** 65 A */
    public static final char  _A_                                         = 'A';

    /** 66 B */
    public static final char  _B_                                         = 'B';

    /** 67 C */
    public static final char  _C_                                         = 'C';

    /** 68 D */
    public static final char  _D_                                         = 'D';

    /** 69 E */
    public static final char  _E_                                         = 'E';

    /** 70 F */
    public static final char  _F_                                         = 'F';

    /** 71 G */
    public static final char  _G_                                         = 'G';

    /** 72 H */
    public static final char  _H_                                         = 'H';

    /** 73 I */
    public static final char  _I_                                         = 'I';

    /** 74 J */
    public static final char  _J_                                         = 'J';

    /** 75 K */
    public static final char  _K_                                         = 'K';

    /** 76 L */
    public static final char  _L_                                         = 'L';

    /** 77 M */
    public static final char  _M_                                         = 'M';

    /** 78 N */
    public static final char  _N_                                         = 'N';

    /** 79 O */
    public static final char  _O_                                         = 'O';

    /** 80 P */
    public static final char  _P_                                         = 'P';

    /** 81 Q */
    public static final char  _Q_                                         = 'Q';

    /** 82 R */
    public static final char  _R_                                         = 'R';

    /** 83 S */
    public static final char  _S_                                         = 'S';

    /** 84 T */
    public static final char  _T_                                         = 'T';

    /** 85 U */
    public static final char  _U_                                         = 'U';

    /** 86 V */
    public static final char  _V_                                         = 'V';

    /** 87 W */
    public static final char  _W_                                         = 'W';

    /** 88 X */
    public static final char  _X_                                         = 'X';

    /** 89 Y */
    public static final char  _Y_                                         = 'Y';

    /** 90 Z */
    public static final char  _Z_                                         = 'Z';

    
    /******************************************************************/
    //91-96为非常用计算符
    /******************************************************************/
    
    /** 91 [ 左方括号 */
    public static final char  _BRACKET_LEFT                              = '[';
    
    /** 92 \ 反斜杠,转义符backslash;sometimes escape反斜线转义符；有时表示转义符或续行符 */
    public static final char  _BACK_SLASH_                                = '\\';
    
    /** 93 ] 右方括号 */
    public static final char  _BRACKET_RIGHT                             = ']';
    
    /** 94 ^ 乘方号，按位异等 */
    public static final char  _CARET_                                     = '^';
    /** 95 _  下划线 */
    public static final char  _UNDERLINE_                                 = '_';
    
    /** 96 ` 撇号、分词号、省字符 apostrophe 英 [əˈpɒstrəfi]     美[əˈpɑstrəfi] */
    public static final char  _APOSTROPHE_                                = '`';
    
    /******************************************************************/
    //97-122为小写字母
    /******************************************************************/
    
    /** 97 a */
    public static final char  _a_                                         = 'a';

    /** 98 b */
    public static final char  _b_                                         = 'b';

    /** 99 c */
    public static final char  _c_                                         = 'c';
    /** 100 d */
    public static final char  _d_                                         = 'd';
    /** 101 e */
    public static final char  _e_                                         = 'e';

    /** 102 f */
    public static final char  _f_                                         = 'f';

    /** 103 g */
    public static final char  _g_                                         = 'g';

    /** 104 h */
    public static final char  _h_                                         = 'h';

    /** 105 i */
    public static final char  _i_                                         = 'i';

    /** 106 j */
    public static final char  _j_                                         = 'j';

    /** 107 k */
    public static final char  _k_                                         = 'k';

    /** 108 l */
    public static final char  _l_                                         = 'l';

    /** 109 m */
    public static final char  _m_                                         = 'm';

    /** 110 n */
    public static final char  _n_                                         = 'n';

    /** 111 o */
    public static final char  _o_                                         = 'o';

    /** 112 p */
    public static final char  _p_                                         = 'p';

    /** 113 q */
    public static final char  _q_                                         = 'q';

    /** 114 r */
    public static final char  _r_                                         = 'r';

    /** 115 s */
    public static final char  _s_                                         = 's';

    /** 116 t */
    public static final char  _t_                                         = 't';

    /** 117 u */
    public static final char  _u_                                         = 'u';

    /** 118 v */
    public static final char  _v_                                         = 'v';

    /** 119 w */
    public static final char  _w_                                         = 'w';

    /** 120 x */
    public static final char  _x_                                         = 'x';

    /** 121 y */
    public static final char  _y_                                         = 'y';

    /** 122 z */
    public static final char  _z_                                         = 'z';

    
    /******************************************************************/
    //123-127为右侧非常用符
    /******************************************************************/
    
    /** 123 { 左花括号 */
    public static final char  _OPEN_BRACE_                                = '{';
    
    /** 124 | 竖杠 */
    public static final char  _VERTICAL_BAR_                              = '|';
    
    /** 125 } 右花括号 */
    public static final char  _CLOSE_BRACE_                               = '}';
    
    /** 126 ~ 波浪号 */
    public static final char  _TILDE_                                     = '~';
    
    /** 127 DEL 删除键 */
    public static final char  _DEL_                                       = 127;


    /******************************************************************/
    //其他常用到的键
    /******************************************************************/
    
    /** 中文空格 = 12288 = 0x3000*/
    public static final int _SPACE_ZH_                                   = 12288;
    
    /**  Unicode 中的空白字符 = 8234 = 0x202a */
    public static final int _SPACE_EN_                                   = 8234;
    /**  全角空格 = 10240 = 0x2800*/
    public static final int _SPACE_IDEOGRAPHIC_                          = 10240;
    
    /** BOM开头空格，UTF-8,UTF-16存在 = 0xfeff;*/
    public static final int _SPACE_BOM_                                  = 65279;
    
    /** Ctrl键 = 0x00040000*/
    public static final int _CTRL_                                       = 262144;
    
    /** Shift键 = 0x00020000*/
    public static final int _SHIFT_                                      = 131072;
}
